lldp port

Configures LLDP on a port or ports.

Syntax

Command Parameters

{slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Identifies the slot and port in one of the following formats:

  • a single slot and port (slot/port)

  • a range of slots and ports (slot/port-slot/port)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

cdp
Enables Cisco discovery protocol on the selected port(s) to accept CDP packets only.
The default is disabled.
status <txAndrx>

Specifies LLDP frames to transmit and receive on the selected port(s).

The default is enabled.

Default

The default is none.

Command Mode

GigabitEthernet Interface Configuration